﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TaskBoard.aspx.cs" Inherits="TaskBoard" %>
<%@ Reference Control="~/Controls/ucTaskIcon.ascx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Task Board</title>
</head>
<body>
    <form id="form1" runat="server">
            <asp:ToolkitScriptManager ID="tsm1" runat="server" />
    <asp:Panel runat="server" ID="pnlNewTask">
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <asp:Label Text="Add New Task" runat="server" ID="lblNewTask"/>
                </td>
                <td>
                    <asp:Label Text="PBI:" runat="server" ID="lblPBI"/>
                </td>
                <td>
                    <asp:Label Text="Description:" runat="server" ID="lblDescription"/>
                </td>
                <td>
                    <asp:Label Text="Employee:" runat="server" ID="lblEmployee"/>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="tbxPBI"/>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="tbxDescription"/>
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="ddlEmployee">                        
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button Text="Add" runat="server" ID="btnAddNewTask" 
                        onclick="btnAddNewTask_Click"/>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel runat="server" ID="pnlTaskBoard">
        <asp:GridView runat="server" ID="gvTaskBoard" AutoGenerateColumns="false" DataKeyNames="EmpID">
            <Columns>
                <asp:BoundField DataField="FullName" HeaderText="Employee" />
                <asp:TemplateField HeaderText="To Do">
                    <ItemTemplate>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="In Progress">
                    <ItemTemplate>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Done">
                    <ItemTemplate>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>        
    </asp:Panel>        
    </form>
</body>
</html>
